{# 创建一个组合搜索框       #}
{# 判断是否传了Option(”传值“)的值       #}
{% if search_group.get_row_list %}
<div class="panel panel-default">
    <div class="panel-heading">
        <i class="fa fa-filter" aria-hidden="true"></i> 快速筛选
    </div>
    <div class="panel-body">
        <div class="search-group">
            {# 循环生成选项               #}
            {% for row in search_group.get_row_list %}
                <div class="row">
                    {# 循环一个个SearchGroupRow()对象：对象有__iter__才能循环   #}
                    {% for obj in row %}
                        {{ obj|safe }}
                    {% endfor %}
                </div>
            {% endfor %}
        </div>
    </div>
</div>
{% endif %}
